package org.example.car.service.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.car.service.domain.Battery;

import java.util.List;

/**
 * @Author: Yanyanyu
 * @Date: 2024/6/29 10:55
 */
@Mapper
public interface BatteryMapper {
    List<Battery> getList(Battery battery);

    boolean add(Battery battery);

    boolean update(Battery battery);

    boolean del(Integer batteryId);

    void insertAll(List<Battery> batteryList);
}
